<%@ page language="java" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zh-cn" class="no-js">
<!--<![endif]-->
<head>
<jsp:include page="../common/common.jsp" />
<link rel="stylesheet" type="text/css"
	href="${path}/assets/plugins/select2/select2.css" />
<link rel="stylesheet" type="text/css"
	href="${path}/assets/plugins/select2/select2-metronic.css" />
</head>
<body class="page-header-fixed">
	<jsp:include page="../common/header.jsp" />
	<div class="clearfix"></div>
	<div class="page-container">
		<div class="page-sidebar-wrapper"><jsp:include
				page="../common/menu.jsp" /></div>
		<div class="page-content-wrapper">
			<div class="page-content">
				<div class="row">
					<div class="col-md-12">
						<div class="portlet box purple">
							<div class="portlet-title">
								<div class="caption">
									<i class="fa fa-file-text-o"></i> 快递网点数据列表
									<!-- e 已更改 -->
								</div>
								<div class="tools">
									<div class="actions">
										<a href="${path}/fastmail/edit" class="btn green"><i
											class="fa fa-plus"> 新增</i></a>
									</div>
								</div>
							</div>
							<div class="portlet-body">
								<form id="formQuery" class="form-horizontal"
									action="${path}/fastmail/list">
									<!--  e需要更改fastmail -->
									<div class="form-body">
										<!-- e 第一行form -->
										<div class="form-group">
											<label class="col-md-1 control-label">公司名称:</label>
											<div class="col-md-3">
												<input id="company" name="company" class="form-control" />
												<!--标题后面的输入框     company是在entity类中的fastmail.java -->
											</div>
											<label class="col-md-1 control-label">区域:</label>
											<!-- e 只是个标签 -->
											<div class="col-md-2">

												<select id="area" name="area" class="form-control">
													<option value="">请选择区域</option>
													<option value="樊城区">樊城区</option>
													<option value="高新区">高新区</option>
													<option value="襄城区">襄城区</option>
													<option value="襄州区">襄州区</option>
													<option value="老河口">老河口</option>
													<option value="南漳">南漳</option>
													<option value="宜城">宜城</option>
													<option value="枣阳">枣阳</option>
													<option value="保康">保康</option>
													<option value="谷城">谷城</option>
													
													<!--  
                                                <c:forEach items="${classList}" var="c">   
                                                    <option value="${c.id}">${c.value0}</option>
                                                </c:forEach> -->
												</select>
												<!--标题后面的输入框     brand是在entity类中的fastmail.java -->
											</div>
											<label class="col-md-1 control-label">品牌:</label>
											<!-- e 只是个标签 -->
											<div class="col-md-2">

												<select id="brand" name="brand" class="form-control">
													<option value="">请选择品牌</option>
													<option value="顺丰">顺丰</option>
													<option value="圆通">圆通</option>
													<option value="申通">申通</option>
													<option value="中通">中通</option>
													<option value="全一">全一</option>
													<option value="汇通">汇通</option>
													<option value="韵达">韵达</option>
													<option value="速尔">速尔</option>
													<option value="优速">优速</option>
													<option value="全峰">全峰</option>
													<option value="DHL">DHL</option>
													<option value="择炫">择炫</option>
													<option value="国通">国通</option>
													<option value="苏宁">苏宁</option>
													<option value="龙邦速递">龙邦速递</option>
													<option value="天天">天天</option>
													<option value="快捷">快捷</option>
													<option value="百世汇通">百世汇通</option>
													<option value="龙邦">龙邦</option>
													<option value="EMS">EMS</option>
													<option value="德邦">德邦</option>
													<!--  
                                                <c:forEach items="${classList}" var="c">   
                                                    <option value="${c.id}">${c.value0}</option>
                                                </c:forEach> -->
												</select>
												<!--标题后面的输入框     brand是在entity类中的fastmail.java -->
											</div>
											<div class="form-group">
												<div class="col-md-1">
													<button type="button" class="btn green"
														onclick="getFastMailList()">查询</button>
													<!-- e 查询直接调用getfastmailList() 在本末的script中-->
												</div>
											</div>
										</div>


									</div>

								</form>
								<table class="table table-striped table-bordered table-hover"
									id="fastMailList"></table>
								<!-- e 根据抛出的fastmailList，打印信息列表 -->
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<jsp:include page="../common/footer.jsp" />
	<script type="text/javascript"
		src="${path}/assets/plugins/calendar/WdatePicker.js"></script>
	<script type="text/javascript"
		src="${path}/assets/plugins/district/linkagesel-min.js"></script>
	<script type="text/javascript" src="${path}/postoffice/js/fastMail.js"></script>
	<!--  e  分页：fastMail.js -->
	<script>
    var msg = '${msg}';
    $(function () {
        if(msg) App.bubble(200, msg);
        var company = '${entity.company}';
        if(company) $("#company").val(company);
        getFastMailList();  
    });

</script>
</body>
</html>